package com.zengjin.test.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zengjin.test.common.PageResponse;
import com.zengjin.test.model.dto.UserDto;
import com.zengjin.test.model.en.User;
import com.zengjin.test.model.vo.UserVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 19324
 */
@Service
public interface UserService extends IService<User> {

    void create(UserDto userDto);

    UserVo queryByUserId(UserDto userDto);

    UserVo queryByOther(UserDto userDto);

    List<UserVo> queryAll();

    void deleteByUserId(UserDto userDto);

    void updateByUserId(UserDto userDto);

    PageResponse<UserVo> queryUserByPage(UserDto userDto);
}
